aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioIntGreaterThanTests]/[method:canGenerateCodeForIntGreaterThan(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
blob: 6b9eed279e584c3ecf4235a917758ea8e52c4496 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Compilation unit elements:

(
    function-decl
    "shed__runtime__int_greater_than"
    params=((param "left" int) (param "right" int))
    return-types=(bool)
)

Locals:
 * (val "binaryOpResult__0" int)
 * (val "tmp__0" bool)

Instructions:

(
    (call (local "tmp__0") "shed__runtime__int_greater_than" ((local "b") (local "c")))
    (bool-to-int (local "binaryOpResult__0") (local "tmp__0"))
)

Temporary stack:
 * PatioLocalRef[name=binaryOpResult__0]
 * PatioLocalRef[name=a]